package com.hulang.sms.sending.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

/**
 * 发送记录表
 */
@Data
@TableName("t_aliyun_send_history")
public class SendHistory {

    @TableField("sendSeq")
    @TableId(value = "sendSeq", type = IdType.AUTO)
    private Integer sendSeq;

    @TableField("phone")
    private String phone;

    @TableField("templateSeq")
    private Integer templateSeq;

    @TableField("sendParamStr")
    private String sendParamStr;

    @TableField("sendTm")
    private String sendTm;

    @TableField("sendIp")
    private String sendIp;

    @TableField("sendResult")
    private Integer sendResult;  // 1成功 0 失败 -1待发送

    @TableField("resultDesc")
    private String resultDesc;// 结果描述
}
